package com.jxdinfo.hussar.example.mes.md.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jxdinfo.hussar.example.common.annotation.Excel;
import com.jxdinfo.hussar.example.common.core.domain.BaseEntity;

/**
 * ERP枚举对象 md_erpenum
 *
 * @author 常宝坤
 * @date 2024-04-19
 */
public class MdErpenum extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 枚举ID */
    private Long enumId;

    /** 枚举类型ID */
    @Excel(name = "枚举类型ID")
    private Long enumlxId;

    /** 枚举类型编码 */
    @Excel(name = "枚举类型编码")
    private String enumlxCode;

    /** 枚举类型名称 */
    @Excel(name = "枚举类型名称")
    private String enumlxName;

    /** 枚举详情ID */
    @Excel(name = "枚举详情ID")
    private Long enummxId;

    /** 枚举详情编码 */
    @Excel(name = "枚举详情编码")
    private String enummxCode;

    /** 枚举详情名称 */
    @Excel(name = "枚举详情名称")
    private String enummxName;

    /** 枚举详情值 */
    @Excel(name = "枚举详情值")
    private String enummxMxvalue;

    /** 预留字段1 */
    @Excel(name = "预留字段1")
    private String attr1;

    /** 预留字段2 */
    @Excel(name = "预留字段2")
    private String attr2;

    /** 预留字段3 */
    @Excel(name = "预留字段3")
    private Long attr3;

    /** 预留字段4 */
    @Excel(name = "预留字段4")
    private Long attr4;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String enableFlag;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String deletedFlag;

    /** 同步时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "同步时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduleTime;

    public void setEnumId(Long enumId)
    {
        this.enumId = enumId;
    }

    public Long getEnumId()
    {
        return enumId;
    }
    public void setEnumlxId(Long enumlxId)
    {
        this.enumlxId = enumlxId;
    }

    public Long getEnumlxId()
    {
        return enumlxId;
    }
    public void setEnumlxCode(String enumlxCode)
    {
        this.enumlxCode = enumlxCode;
    }

    public String getEnumlxCode()
    {
        return enumlxCode;
    }
    public void setEnumlxName(String enumlxName)
    {
        this.enumlxName = enumlxName;
    }

    public String getEnumlxName()
    {
        return enumlxName;
    }
    public void setEnummxId(Long enummxId)
    {
        this.enummxId = enummxId;
    }

    public Long getEnummxId()
    {
        return enummxId;
    }
    public void setEnummxCode(String enummxCode)
    {
        this.enummxCode = enummxCode;
    }

    public String getEnummxCode()
    {
        return enummxCode;
    }
    public void setEnummxName(String enummxName)
    {
        this.enummxName = enummxName;
    }

    public String getEnummxName()
    {
        return enummxName;
    }
    public void setEnummxMxvalue(String enummxMxvalue)
    {
        this.enummxMxvalue = enummxMxvalue;
    }

    public String getEnummxMxvalue()
    {
        return enummxMxvalue;
    }
    public void setAttr1(String attr1)
    {
        this.attr1 = attr1;
    }

    public String getAttr1()
    {
        return attr1;
    }
    public void setAttr2(String attr2)
    {
        this.attr2 = attr2;
    }

    public String getAttr2()
    {
        return attr2;
    }
    public void setAttr3(Long attr3)
    {
        this.attr3 = attr3;
    }

    public Long getAttr3()
    {
        return attr3;
    }
    public void setAttr4(Long attr4)
    {
        this.attr4 = attr4;
    }

    public Long getAttr4()
    {
        return attr4;
    }
    public void setEnableFlag(String enableFlag)
    {
        this.enableFlag = enableFlag;
    }

    public String getEnableFlag()
    {
        return enableFlag;
    }
    public void setDeletedFlag(String deletedFlag)
    {
        this.deletedFlag = deletedFlag;
    }

    public String getDeletedFlag()
    {
        return deletedFlag;
    }
    public void setScheduleTime(Date scheduleTime)
    {
        this.scheduleTime = scheduleTime;
    }

    public Date getScheduleTime()
    {
        return scheduleTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("enumId", getEnumId())
            .append("enumlxId", getEnumlxId())
            .append("enumlxCode", getEnumlxCode())
            .append("enumlxName", getEnumlxName())
            .append("enummxId", getEnummxId())
            .append("enummxCode", getEnummxCode())
            .append("enummxName", getEnummxName())
            .append("enummxMxvalue", getEnummxMxvalue())
            .append("remark", getRemark())
            .append("attr1", getAttr1())
            .append("attr2", getAttr2())
            .append("attr3", getAttr3())
            .append("attr4", getAttr4())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("enableFlag", getEnableFlag())
            .append("deletedFlag", getDeletedFlag())
            .append("scheduleTime", getScheduleTime())
            .toString();
    }
}
